package Common;

// 用于表示一个与寄存器相关的替代值
// 在某些汇编语言或编译优化的上下文中使用
public class RelacedEeg {
    public REG reg;
    public String val;
    public boolean no_use = true;
    public int mem = -1;

    public RelacedEeg(REG myReg, String replacedVal) {
        reg = myReg;
        val = replacedVal;
    }

    public RelacedEeg(REG reg, String val, boolean no_use, int mem) {
        this.reg = reg;
        this.val = val;
        this.no_use = no_use;
        this.mem = mem;
    }
}
